package com.yswl.yeeduo.ui.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.google.gson.Gson;

/**
 *  app 活动实体类
 * @author Administrator
 *
 */
public class DetailMoneyBean implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8967978065610407212L;
	/**
	 * "activeId": "55f7c9edb9567dc82c8b4597",
            "shareMoney": 0.35,
            "readMoney": 0,
            "title": "从三件事，去看清一个人到底值不值得深交",
            "status": 2//表示活动已经下线，0表示活动正在进行中
	 */
	public String activeId;
	public double shareMoney;
	public double readMoney;
	public String title;
	public int status;
	
	public static List<DetailMoneyBean> json2List(String objarray) {
		List<DetailMoneyBean> listBean ;
		Gson gson = new Gson();
		java.lang.reflect.Type type = new com.google.gson.reflect.TypeToken<ArrayList<DetailMoneyBean>>() {
		}.getType();
		listBean = gson.fromJson(objarray, type);
		return listBean;
	}
	
	
}
